CDISC Builderâ„¢  2.1 - Installation Test Scripts - Check format and CDISC button
The following documentation contains test scripts and expected results for validating the CDISC Builder tool.  Do the following to verify proper installation:
  • Start CDISC Builder application by double clicking on the desktop icon.
  • Perform each test by performing the steps specified by the instructions.  
  • Evaluate the results of each step by comparing them with results described in the Documentation column. 
Script Description Documentation
Check User defined format dataset Check missing format location.
Check invalid format location.
Verify the case where dataset has a user defined format.
 
Instructions 1  
Check CDISC button Verify the case where there is no CDISC dataset in the selected source path. Instructions 2

Notes:

  • Create "C:\temp\format and cdisc" folder if it does not exist.

  • Submit the following code :

       libname f "C:\temp\format and cdisc";

       proc format library=f;

          value $city 'BR1'='Birmingham UK'

          'BR2'='Plymouth UK'         

          'BR3'='York UK'

          'US1'='Denver USA'

          'US2'='Miami USA'

          other='INCORRECT CODE';

          value $cities 'BR1'='Birmingham UK'

          'BR2'='Plymouth UK'

          'BR3'='York UK'

          'US1'='Denver USA'

          'US2'='Miami USA'

          other='INCORRECT CODE';

      run;

      options

      fmtsearch=(f);

 

     data f.dformat;

        format name $city.;

        name="BR1";

        output;

        name="BR2";

        output;

        name="US1";

        output;

    run;

    data f.dformat2(keep=name);

       format name $cities.;

       name="BR3";

       output;

       name="BR2";

       output;

       name="US2";

       output;

       do i=1 to 150;

          name="US2";

          output;

       end;

    run;

Instructions 1
Start the CDISC Builder application from the icon in desktop.

  1. Click ADDSEQ to open the ADDSEQ screen.

  2. Navigate to "C:\temp\format and cdisc" folder by clicking [...] button next to the "Source Data" entry and select "dformat" dataset from the list.

  3. Click OK button.

  4. Verify that a message is displayed to confirm about an associated defined format:
    The selected dataset needs an associated format catalog.

  5. Click OK button to close this message.

  6. Verify a "Format Location" screen is displayed.

  7. Click OK button.  Verify a warning message is displayed:
    The selected path is invalid.

  8. Click OK button to close this message.

  9. Type an invalid path such as "c:\temp\invalid".  Click OK button.

  10. Verify there is a warning message confirming about the invalid path.

  11. Type "C:\temp\format and cdisc",

  12. Click OK button.

  13. Verify that a report containing the content of the dataset appears.

  14. Verify the "name" column to see that it displays the format value of the variable.

  15. Repeat the instruction from step 2 to step 12 with the following modules: COMMENT, REPORT/Content,  FINDREL, ORDERVAR, SUPPQUAL

Instructions 2
Start the CDISC Builder application from the icon in desktop.

  1. Duplicate "dformat" dataset, rename "dformat" to "AE" and "DM" and copy the new datasets to "C:\temp".

  2. Click on any screen that has CDISC button.

  3. Navigate to "C:\temp\format and cdisc" folder by clicking [...] button near "Source Data".

  4. Click CDISC button.

  5. Verify there is a warning message confirming that there are no dataset names in the list that match CDISC guidelines.

  6. Click OK button to close this message.

  7. Navigate to "C:\temp" folder by clicking [...] button near "Source Data".

  8. Click CDISC button.

  9. Verify "AE" and "DM" datasets are selected and no warning is displayed.

For more information, please contact MXI .

 
     Meta-Xceed Inc. © 2009